{if $aPaging.totalPages>1}
{if $aPaging.firstUrl}<a {if $bUseAjaxLinks}href="javascript:void(0);" onclick="document.getElementById('ajax_comment_loader').style.display='';xajax_listComments('1', '{$sCmtType}', '{$totalCount}');"{else}href="{$aPaging.firstUrl}"{/if} class="pager_link">&lt;&lt;&nbsp;{language text="first"}</a> &nbsp;{/if}
{if $aPaging.prevUrl}<a {if $bUseAjaxLinks}href="javascript:void(0);" onclick="document.getElementById('ajax_comment_loader').style.display='';xajax_listComments('{$aPaging.iPrevPage}', '{$sCmtType}', '{$totalCount}');"{else}href="{$aPaging.prevUrl}"{/if} class="pager_link">&lt;&nbsp;{language text="prev"}</a>&nbsp;|&nbsp;{/if}{language text="page_293"}:&nbsp;
{foreach from=$aPaging.urls key=sUrl item=iPage}
{if $sUrl}<a {if $bUseAjaxLinks}href="javascript:void(0);" onclick="document.getElementById('ajax_comment_loader').style.display='';xajax_listComments('{$iPage}', '{$sCmtType}', '{$totalCount}');"{else}href="{$sUrl}"{/if} class="pager_link">{$iPage}</a>{else}<b>{$iPage}</b>{/if}&nbsp;|
{/foreach}
{if $aPaging.nextUrl} <a {if $bUseAjaxLinks}href="javascript:void(0);" onclick="document.getElementById('ajax_comment_loader').style.display='';xajax_listComments('{$aPaging.iNextPage}', '{$sCmtType}', '{$totalCount}');"{else}href="{$aPaging.nextUrl}"{/if} class="pager_link">{language text="next"}&nbsp;&gt;</a>&nbsp;{/if}
{if $aPaging.lastUrl}  <a {if $bUseAjaxLinks}href="javascript:void(0);" onclick="document.getElementById('ajax_comment_loader').style.display='';xajax_listComments('{$aPaging.iLastPageAjax}', '{$sCmtType}', '{$totalCount}');"{else}href="{$aPaging.lastUrl}"{/if} class="pager_link">{language text="last"}&nbsp;&gt;&gt;</a>{/if}
{/if}